/*
 * GraduSoft Prototype1 v.1
 * Wallace Brown
 * 
 * Useful tutorials and resources used:
 * [1] <Cloning lists> http://www.java2s.com/Tutorial/Java/0140__Collections/CopyingandCloningListspublicObjectclone.htm
 * [2] <XML Serialization> http://www.java2s.com/Code/Java/JDK-6/MarshalJavaobjecttoxmlandoutputtoconsole.htm
 */

package p1;

import javax.xml.bind.JAXBContext;
import javax.xml.bind.Marshaller;
import javax.xml.bind.annotation.XmlRootElement;

public class Main {

	/**
	 * @param args
	 */
	public static void main(String[] args) throws Exception{
		// TODO Auto-generated method stub

		/*
	    JAXBContext context = JAXBContext.newInstance(Class.class);

	    Marshaller m = context.createMarshaller();
	    m.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, true);
	    
		Class a = new Class();

	    m.marshal(a, System.out);
	    */
		
		Semester s = new Semester("2013","winter");
		s.addClass(new Class());
		System.out.println(s.toString());

		
	}

}